package com.gxa.pojo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.math.BigDecimal;
import java.util.Date;

@ApiModel(value = "订单列表基础资料的实体")
public class Orders {
    @ApiModelProperty(name = "order_id",notes = "主键",dataType = "String",required = true)
    //订单编号
    private String order_id;
    @ApiModelProperty(name = "customer_id",notes = "客户名称",dataType = "String",required = true)
    //客户名称
    private Integer customer_Id;
    @ApiModelProperty(name = "contact_id",notes = "联系人",dataType = "Integer",required = true)
    //联系人
    private Integer contact_id;
    //下单日期
    private Date order_date;
    //交单日期
    private Date Submit_order_date;
    @ApiModelProperty(name = "order_amount",notes = "订单总金额",dataType = "BigDecimal",required = true)
    //订单总金额
    private BigDecimal order_amount;
    @ApiModelProperty(name = "order_received",notes = "已收款",dataType = "BigDecimal",required = true)
    //已收款
    private BigDecimal order_received;
    @ApiModelProperty(name = "order_debt",notes = "欠款",dataType = "BigDecimal",required = true)
    //欠款
    private BigDecimal order_debt;
    @ApiModelProperty(name = "order_status",notes = "订单状态",dataType = "Integer",required = true)
    //订单状态
    private Integer order_status;
    @ApiModelProperty(name = "shipping_status",notes = "发货状态",dataType = "Integer",required = true)
    //发货状态
    private Integer shipping_status;
    //收货人
    private String consignee;
    //收货人电话
    private String consignee_phone;
    //收货人地址
    private String consignee_address;
    //备注
    private String order_remark;
    @ApiModelProperty(name = "employee_id",notes = "业务员",dataType = "Integer",required = true)
    //业务员
    private Integer employee_id;
    @ApiModelProperty(name = "enter_time",notes = "录入时间",dataType = "Date",required = true)
    //录入时间
    private Date enter_time;
    //状态
    private Integer status;
    //customer实体
    private Customer customer;
    //contact实体
    private Contact contact;

    public Contact getContact() {
        return contact;
    }

    public void setContact(Contact contact) {
        this.contact = contact;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Customer getCustomer() {
        return customer;
    }

    public void setCustomer(Customer customer) {
        this.customer = customer;
    }

    public String getOrder_id() {
        return order_id;
    }

    public void setOrder_id(String order_id) {
        this.order_id = order_id;
    }

    public Integer getCustomer_Id() {
        return customer_Id;
    }

    public void setCustomer_Id(Integer customer_Id) {
        this.customer_Id = customer_Id;
    }

    public Integer getContact_id() {
        return contact_id;
    }

    public void setContact_id(Integer contact_id) {
        this.contact_id = contact_id;
    }

    public Date getOrder_date() {
        return order_date;
    }

    public void setOrder_date(Date order_date) {
        this.order_date = order_date;
    }

    public Date getSubmit_order_date() {
        return Submit_order_date;
    }

    public void setSubmit_order_date(Date submit_order_date) {
        Submit_order_date = submit_order_date;
    }

    public BigDecimal getOrder_amount() {
        return order_amount;
    }

    public void setOrder_amount(BigDecimal order_amount) {
        this.order_amount = order_amount;
    }

    public BigDecimal getOrder_received() {
        return order_received;
    }

    public void setOrder_received(BigDecimal order_received) {
        this.order_received = order_received;
    }

    public BigDecimal getOrder_debt() {
        return order_debt;
    }

    public void setOrder_debt(BigDecimal order_debt) {
        this.order_debt = order_debt;
    }

    public Integer getOrder_status() {
        return order_status;
    }

    public void setOrder_status(Integer order_status) {
        this.order_status = order_status;
    }

    public Integer getShipping_status() {
        return shipping_status;
    }

    public void setShipping_status(Integer shipping_status) {
        this.shipping_status = shipping_status;
    }

    public String getConsignee() {
        return consignee;
    }

    public void setConsignee(String consignee) {
        this.consignee = consignee;
    }

    public String getConsignee_phone() {
        return consignee_phone;
    }

    public void setConsignee_phone(String consignee_phone) {
        this.consignee_phone = consignee_phone;
    }

    public String getConsignee_address() {
        return consignee_address;
    }

    public void setConsignee_address(String consignee_address) {
        this.consignee_address = consignee_address;
    }

    public String getOrder_remark() {
        return order_remark;
    }

    public void setOrder_remark(String order_remark) {
        this.order_remark = order_remark;
    }

    public Integer getEmployee_id() {
        return employee_id;
    }

    public void setEmployee_id(Integer employee_id) {
        this.employee_id = employee_id;
    }

    public Date getEnter_time() {
        return enter_time;
    }

    public void setEnter_time(Date enter_time) {
        this.enter_time = enter_time;
    }
}
